home *** CD-ROM | disk | FTP | other *** search
- Path: news.eden.com!usenet
- From: "Shane M. Sadler" <nexus@eden.com>
- Newsgroups: comp.lang.c
- Subject: Re: 'sh' in Makefile ???
- Date: Sat, 24 Feb 1996 21:33:28 -0600
- Organization: Eden Matrix
- Message-ID: <312FD888.7593@eden.com>
- References: <ZHAO.96Feb21135806@sparta.crl.nmsu.edu>
- NNTP-Posting-Host: net-1-101.austin.eden.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win95; I)
-
- Z. Zhao wrote:
- >
- > i have grabbed a c program and its Makefile from somewhere for a
- > sun-openwin application. there is a statement as follows in the Makefile:
- >
- > OW :sh = echo ${OPENWINHOME:+openwin}
- >
- > it is to get a sunos/openwin env. variable. however, my 'make' doesn't
- > get it and says:
- >
- > % make: *** No rule to make target 'sh'. Stop.
- >
- > And I don't get it. Anyone knows what it is ?
-
- 'sh' stands for the Bourne shell or /bin/sh. The macro that determines
- which shell is used to interpret commands in Makefiles is SHELL which
- make may set to /bin/sh by default (though it's safer to do it yourself
- by explicitly defining SHELL=/bin/sh at the top of your description
- files).
-
- -- Shane
- ====================================================
- S.M. Sadler
- e-mail: nexus@eden.com
- WWW: http://www.eden.com/~nexus
-